{% extends "base.html" %}

{% block title %}注册 - 个人记账应用{% endblock %}

{% block content %}
<div class="card mb-4 form-container">
    <div class="card-header">
        用户注册
    </div>
    <div class="card-body">
        <form action="/register" method="post">
            <div class="mb-3">
                <label for="username" class="form-label">用户名:</label>
                <input type="text" name="username" class="form-control" required>
            </div>
            <div class="mb-3">
                <label for="email" class="form-label">电子邮件:</label>
                <input type="email" name="email" class="form-control" required>
            </div>
            <div class="mb-3">
                <label for="password" class="form-label">密码:</label>
                <input type="password" name="password" class="form-control" required>
            </div>
            <button type="submit" class="btn btn-primary">注册</button>
        </form>
    </div>
</div>
{% endblock %}
